package com.example.aigc_education.integration.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChatMessageRequestV2 implements Serializable {

    public enum Role {
        USER,
        AI,
        THINKING,
        TOOL_CALL,
    }

    // 消息内容
    private Object content;
    // 消息类型
    private String type;
    // 发送角色
    private ChatMessageRequestV2.Role role;
    // 用户ID
    private String userId;
    // 对话ID
    private String convId;
    // 消息ID
    private String messageId;
}
